package com.ruoyi.app.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import net.sf.jsqlparser.expression.DateTimeLiteralExpression;

import java.util.Date;

/**
 * 会员基础对象 app_member_base
 *
 * @author david
 * @date 2019-10-22
 */
public class MemberUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 会员ID */
    private String id;



    /** 登陆帐号 */
    @Excel(name = "登陆帐号")
    private String username;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String nickname;
    @Excel(name = "头像")
    private String avatar;
    /** 用户等级 */
    private Long levelId;

    /**
     * 等级名称根据积分计算翻译
     */
    private String levelName;

    /** 用户邮箱 */
    @Excel(name = "用户邮箱")
//    @JsonIgnore
    private String email;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String mobile;

    /** 性别  //性别 0：未知、1：男、2：女*/
    @Excel(name = "性别")
    private Integer sex;

    /** 真实姓名 */
    @Excel(name = "真实姓名")
    private Integer name;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 帐号状态:0正常,1禁用 */
    @Excel(name = "帐号状态:0正常,1禁用")
    private Integer status;

    /** 最近登录时间 */
    @Excel(name = "最近登录时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date loginDate;
    /** 登陆ip */
    private String loginIp;
    /** 注册ip */
    private String registerIp;
    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;
    /** 备注 */
    private String mark;

    /** 推荐人 */
    @Excel(name = "推荐人")
    private String recemMemberId;

    /** 推荐码 */
    @Excel(name = "推荐码")
    private String codes;


    /** 金额 */
    @Excel(name = "金额")
    private Long point;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Long getLevelId() {
        return levelId;
    }

    public void setLevelId(Long levelId) {
        this.levelId = levelId;
    }

    public String getLevelName() {
        return levelName;
    }

    public void setLevelName(String levelName) {
        this.levelName = levelName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getName() {
        return name;
    }

    public void setName(Integer name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getLoginDate() {
        return loginDate;
    }

    public void setLoginDate(Date loginDate) {
        this.loginDate = loginDate;
    }

    public String getLoginIp() {
        return loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }

    public String getRegisterIp() {
        return registerIp;
    }

    public void setRegisterIp(String registerIp) {
        this.registerIp = registerIp;
    }

    public Long getAge() {
        return age;
    }

    public void setAge(Long age) {
        this.age = age;
    }

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    public String getRecemMemberId() {
        return recemMemberId;
    }

    public void setRecemMemberId(String recemMemberId) {
        this.recemMemberId = recemMemberId;
    }

    public String getCodes() {
        return codes;
    }

    public void setCodes(String codes) {
        this.codes = codes;
    }

    public Long getPoint() {
        return point;
    }

    public void setPoint(Long point) {
        this.point = point;
    }

    public int getDeleted() {
        return deleted;
    }

    public void setDeleted(int deleted) {
        this.deleted = deleted;
    }

    /** 是否删除 */
    private int deleted;


}
